package cn.lyvust.shili01;

/**
 * Description:
 * date: 2021-4-13 10:25
 *
 * @author Guo_guo
 * @since JDK 1.8
 */
public class Base {
    public void method1(){
        System.out.println("父类的实例方法method1");
    }
    public static void method2(){
        System.out.println("父类的静态方法method2");
    }
    public Base method3(){
        System.out.println("父类返回值类型为base的方法method3");
        return new Base();
    }

    private void method4(){
        System.out.println("父类的私有方法method4");
    }
}
